Skip to content

[reproducer] Remove add_host that breaks reuse_ocp SSH connectivity#3969

Open
mnietoji wants to merge 1 commit into
openstack-k8s-operators:mainfrom
mnietoji:fix/reuse-ocp-bootstrap-include-role
Open

[reproducer] Remove add_host that breaks reuse_ocp SSH connectivity#3969
mnietoji wants to merge 1 commit into
openstack-k8s-operators:mainfrom
mnietoji:fix/reuse-ocp-bootstrap-include-role

Conversation

@mnietoji
Copy link
Copy Markdown
Contributor

@mnietoji mnietoji commented May 29, 2026

[reproducer] Remove add_host that breaks reuse_ocp SSH connectivity
The add_host task in reuse_main.yaml reads the inventory from
controller-0 and re-registers hosts with ansible_host set to
controller-0.utility. This hostname only resolves from the
hypervisor, not from the Zuul executor. The add_host also
overwrites the existing SSH ProxyJump configuration, causing
all subsequent delegated tasks to fail with UNREACHABLE because
the executor tries to connect directly to controller-0.utility.

This task was introduced in 10121fb as part of the refactor
from command-based to role-based bootstrap execution.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Signed-off-by: Miguel Angel Nieto Jimenez mnietoji@redhat.com

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 29, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign michburk for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mnietoji mnietoji force-pushed the fix/reuse-ocp-bootstrap-include-role branch 2 times, most recently from cbc2b7b to 80b7f22 Compare May 29, 2026 12:17
The add_host task in reuse_main.yaml reads the inventory from
controller-0 and re-registers hosts with ansible_host set to
controller-0.utility. This hostname only resolves from the
hypervisor, not from the Zuul executor. The add_host also
overwrites the existing SSH ProxyJump configuration, causing
all subsequent delegated tasks to fail with UNREACHABLE because
the executor tries to connect directly to controller-0.utility.

This task was introduced in 10121fb as part of the refactor
from command-based to role-based bootstrap execution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Miguel Angel Nieto Jimenez <mnietoji@redhat.com>
@mnietoji mnietoji force-pushed the fix/reuse-ocp-bootstrap-include-role branch from 80b7f22 to 823bdec Compare May 29, 2026 12:55
@mnietoji
Copy link
Copy Markdown
Contributor Author

recheck

@mnietoji mnietoji changed the title [reproducer] Fix reuse_ocp bootstrap by using include_role [reproducer] Remove add_host that breaks reuse_ocp SSH connectivity May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant